package com.hqj.client.service;

import com.hqj.client.entity.DownloadForm;

import java.util.List;

/**
 * @author 王建林
 * @version 1.0
 * @date 2020/10/19
 */
public interface DownloadFormService {
    /**
     * 分页查询
     *
     * @param page
     * @param size
     * @return java.util.List<com.hqj.client.entity.DownloadForm>
     * @date 2020/10/19 15:08
     */

    List<DownloadForm> findPage(int page, int size);

   /**
    * 增加
    * @date 2020/10/19 15:27
    * @param
    * @return int
    */
    int add(DownloadForm downloadForm);

    /**
     * 修改
     * @date 2020/10/19 15:36
     * @param downloadForm
     * @return int
     */
    int update(DownloadForm downloadForm);

    /**
     * 删除
     * @date 2020/10/19 15:48
     * @param id	分类id
     * @return int
     */
    int delete(Long id);
    /**
     * 搜索
     * @date 2020/10/19 16:02
     * @param fileNames
     * @return com.hqj.client.entity.DownloadForm
     */
    List<DownloadForm> search(String fileNames);


}
